/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import { Request, Response } from 'express';
import { mockResponse } from '../_utils/';

/**
 *
 * @description 片区管理
 */

export default {
  'POST /sendVip/sendVipList': (req: Request, res: Response) => {
    return mockResponse(
      {
        id: '@id',
        'print_name|1': ['菜鸟', '拼多多'],
        'style_name|1': ['4g打印机', '4g打印盒子'],
        print_code: '@id',
        'send_time|1': [3, 6, 9, 12],
        selling_time: '@date("yyyy-MM-dd hh:mm:ss")',
        get_time: '@date("yyyy-MM-dd hh:mm:ss")',
        desc: '@cword(5,10)',
        'status|1': [0, 1, 2, 3],
      },
      {
        total: 30,
        _key: 'data',
      },
    )(req, res);
  },
  'POST /sendVip/sendVipAdd': (req: Request, res: Response) => mockResponse()(req, res),
  'POST /sendVip/cancelVip': (req: Request, res: Response) => mockResponse()(req, res),
  'POST /sendVip/sendVipDel': (req: Request, res: Response) => mockResponse()(req, res),
};
